package com.chenfeng.ego.search.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.chenfeng.ego.commons.pojo.ItemSearch;

public interface SolrMapper
{
	@Select("select i.id,i.image item_image,i.price item_price,i.sell_point item_sell_point,i.title item_title,c.`name` item_category_name,d.item_desc item_desc from tb_item i LEFT JOIN tb_item_cat c on i.cid = c.id LEFT JOIN tb_item_desc d on d.item_id= i.id")
	List<ItemSearch> seAll();
}
